/*
  example 7.1
  byte variable example
  http://tronixstuff.com/tutorials > Chapter Seven
*/

byte a = 0;
int c = 0;

void setup()
{
  Serial.begin(9600);
}

void loop()
{
  for (c=0; c<=255; c++)
  {
    a = c;
    
    Serial.print(a,BIN);// show the value of byte 'a' in binary
    Serial.print("  ");
    Serial.print(a,DEC);// show the value of byte 'a' in base-10
    Serial.println(";  ");
    delay(1000);
  }
}
